<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>AndBase开发框架: com.google.gson.JsonObject类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ic_launcher.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">AndBase开发框架
   &#160;<span id="projectnumber">1.6</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1google.html">google</a></li><li class="navelem"><a class="el" href="namespacecom_1_1google_1_1gson.html">gson</a></li><li class="navelem"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html">JsonObject</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1google_1_1gson_1_1_json_object-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.google.gson.JsonObject类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.google.gson.JsonObject 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcom_1_1google_1_1gson_1_1_json_object.png" usemap="#com.google.gson.JsonObject_map" alt=""/>
  <map id="com.google.gson.JsonObject_map" name="com.google.gson.JsonObject_map">
<area href="classcom_1_1google_1_1gson_1_1_json_element.html" alt="com.google.gson.JsonElement" shape="rect" coords="0,0,183,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a7525e7948f657f4a6dd5f7f5170afa26"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a7525e7948f657f4a6dd5f7f5170afa26">JsonObject</a> ()</td></tr>
<tr class="separator:a7525e7948f657f4a6dd5f7f5170afa26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af13567e4159054c29f902d391f897962"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#af13567e4159054c29f902d391f897962">add</a> (String property, <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> value)</td></tr>
<tr class="separator:af13567e4159054c29f902d391f897962"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bde9aaf367149f477149d0e219abddf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a7bde9aaf367149f477149d0e219abddf">remove</a> (String property)</td></tr>
<tr class="separator:a7bde9aaf367149f477149d0e219abddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37a741a72aeff7c0c8bf26db0b80c78b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a37a741a72aeff7c0c8bf26db0b80c78b">addProperty</a> (String property, String value)</td></tr>
<tr class="separator:a37a741a72aeff7c0c8bf26db0b80c78b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af14b3d128b3c267c68b4c39482e74ff4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#af14b3d128b3c267c68b4c39482e74ff4">addProperty</a> (String property, Number value)</td></tr>
<tr class="separator:af14b3d128b3c267c68b4c39482e74ff4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac61b768daf1ea163a01af772c95ea42e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#ac61b768daf1ea163a01af772c95ea42e">addProperty</a> (String property, Boolean value)</td></tr>
<tr class="separator:ac61b768daf1ea163a01af772c95ea42e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d54a99594353388ea2a6fc0fc686150"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a8d54a99594353388ea2a6fc0fc686150">addProperty</a> (String property, Character value)</td></tr>
<tr class="separator:a8d54a99594353388ea2a6fc0fc686150"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeb9f0f46b5517ff0ee024fbb8b1e7ea"><td class="memItemLeft" align="right" valign="top">Set&lt; Map.Entry&lt; String, <br class="typebreak" />
<a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#afeb9f0f46b5517ff0ee024fbb8b1e7ea">entrySet</a> ()</td></tr>
<tr class="separator:afeb9f0f46b5517ff0ee024fbb8b1e7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfe76c75649bab7a89f0d3286e7620ec"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#acfe76c75649bab7a89f0d3286e7620ec">has</a> (String memberName)</td></tr>
<tr class="separator:acfe76c75649bab7a89f0d3286e7620ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff4878478d438a0d947aeae437f08594"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#aff4878478d438a0d947aeae437f08594">get</a> (String memberName)</td></tr>
<tr class="separator:aff4878478d438a0d947aeae437f08594"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5eddfce2f6356c4e19ca8507f41fea9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#aa5eddfce2f6356c4e19ca8507f41fea9">getAsJsonPrimitive</a> (String memberName)</td></tr>
<tr class="separator:aa5eddfce2f6356c4e19ca8507f41fea9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0bbbd35d5a7c0f1f72850e6044f675c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_array.html">JsonArray</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#ad0bbbd35d5a7c0f1f72850e6044f675c">getAsJsonArray</a> (String memberName)</td></tr>
<tr class="separator:ad0bbbd35d5a7c0f1f72850e6044f675c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addbd7aa8050d23261fbd72778c20b3ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html">JsonObject</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#addbd7aa8050d23261fbd72778c20b3ef">getAsJsonObject</a> (String memberName)</td></tr>
<tr class="separator:addbd7aa8050d23261fbd72778c20b3ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fddc8ae4be6cef712b6be6fda3a458e"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a9fddc8ae4be6cef712b6be6fda3a458e">equals</a> (Object o)</td></tr>
<tr class="separator:a9fddc8ae4be6cef712b6be6fda3a458e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b98825813cad022d5a0e0e9de7b8f70"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a9b98825813cad022d5a0e0e9de7b8f70">hashCode</a> ()</td></tr>
<tr class="separator:a9b98825813cad022d5a0e0e9de7b8f70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcom_1_1google_1_1gson_1_1_json_element')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">com.google.gson.JsonElement</a></td></tr>
<tr class="memitem:aba67eec527d3e87cfaecf7e0fb78996b inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#aba67eec527d3e87cfaecf7e0fb78996b">isJsonArray</a> ()</td></tr>
<tr class="separator:aba67eec527d3e87cfaecf7e0fb78996b inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accc3683bef9e57bd35ef9a4f84cfdfd4 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#accc3683bef9e57bd35ef9a4f84cfdfd4">isJsonObject</a> ()</td></tr>
<tr class="separator:accc3683bef9e57bd35ef9a4f84cfdfd4 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8309c61ca804aa6791bb98615f632ffc inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a8309c61ca804aa6791bb98615f632ffc">isJsonPrimitive</a> ()</td></tr>
<tr class="separator:a8309c61ca804aa6791bb98615f632ffc inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ced30d29f8df0a1f25bd7f4ae27a07d inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a2ced30d29f8df0a1f25bd7f4ae27a07d">isJsonNull</a> ()</td></tr>
<tr class="separator:a2ced30d29f8df0a1f25bd7f4ae27a07d inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01b87a509ef70d484134407a821df874 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html">JsonObject</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a01b87a509ef70d484134407a821df874">getAsJsonObject</a> ()</td></tr>
<tr class="separator:a01b87a509ef70d484134407a821df874 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23e0f4948cf60ffaf39d1e1ddb7c9db5 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_array.html">JsonArray</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a23e0f4948cf60ffaf39d1e1ddb7c9db5">getAsJsonArray</a> ()</td></tr>
<tr class="separator:a23e0f4948cf60ffaf39d1e1ddb7c9db5 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75e7e0206f4d4cdf9732d3bec97b45e4 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a75e7e0206f4d4cdf9732d3bec97b45e4">getAsJsonPrimitive</a> ()</td></tr>
<tr class="separator:a75e7e0206f4d4cdf9732d3bec97b45e4 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35e6d1d699a7dd07d2aeeceefef88fe3 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_null.html">JsonNull</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a35e6d1d699a7dd07d2aeeceefef88fe3">getAsJsonNull</a> ()</td></tr>
<tr class="separator:a35e6d1d699a7dd07d2aeeceefef88fe3 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26a6a5a9ce600cfb4cd0b6828f7b0b81 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a26a6a5a9ce600cfb4cd0b6828f7b0b81">getAsBoolean</a> ()</td></tr>
<tr class="separator:a26a6a5a9ce600cfb4cd0b6828f7b0b81 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaac43094cd4723e03b82567851fb1ee7 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">Number&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#aaac43094cd4723e03b82567851fb1ee7">getAsNumber</a> ()</td></tr>
<tr class="separator:aaac43094cd4723e03b82567851fb1ee7 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f55688dc6c1dab2e1f18c220770d447 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a3f55688dc6c1dab2e1f18c220770d447">getAsString</a> ()</td></tr>
<tr class="separator:a3f55688dc6c1dab2e1f18c220770d447 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63c5b57e725c7fed11cd7f524f881c4d inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a63c5b57e725c7fed11cd7f524f881c4d">getAsDouble</a> ()</td></tr>
<tr class="separator:a63c5b57e725c7fed11cd7f524f881c4d inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ddb0a466387c9e8712809fd0d5a4d8b inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a0ddb0a466387c9e8712809fd0d5a4d8b">getAsFloat</a> ()</td></tr>
<tr class="separator:a0ddb0a466387c9e8712809fd0d5a4d8b inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6884174d04bee00f55600b0d01dcdc11 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a6884174d04bee00f55600b0d01dcdc11">getAsLong</a> ()</td></tr>
<tr class="separator:a6884174d04bee00f55600b0d01dcdc11 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79903075f6971e503f8eee51b55a1652 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a79903075f6971e503f8eee51b55a1652">getAsInt</a> ()</td></tr>
<tr class="separator:a79903075f6971e503f8eee51b55a1652 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf0cb719bd5219e0a2c17adeaad1e7bd inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">byte&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#acf0cb719bd5219e0a2c17adeaad1e7bd">getAsByte</a> ()</td></tr>
<tr class="separator:acf0cb719bd5219e0a2c17adeaad1e7bd inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b03e0bb3b3fcfbd5358d230cb62f070 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a1b03e0bb3b3fcfbd5358d230cb62f070">getAsCharacter</a> ()</td></tr>
<tr class="separator:a1b03e0bb3b3fcfbd5358d230cb62f070 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa60f644847a9fcdc23a34ffb58e66ebc inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">BigDecimal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#aa60f644847a9fcdc23a34ffb58e66ebc">getAsBigDecimal</a> ()</td></tr>
<tr class="separator:aa60f644847a9fcdc23a34ffb58e66ebc inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a654514f10f9431f14333faf2e5e5f94b inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">BigInteger&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a654514f10f9431f14333faf2e5e5f94b">getAsBigInteger</a> ()</td></tr>
<tr class="separator:a654514f10f9431f14333faf2e5e5f94b inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b5af6018e067b1b5626d95f57b94bb1 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a2b5af6018e067b1b5626d95f57b94bb1">getAsShort</a> ()</td></tr>
<tr class="separator:a2b5af6018e067b1b5626d95f57b94bb1 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70aff0ce844684e2df39aaef22b132a7 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#a70aff0ce844684e2df39aaef22b132a7">toString</a> ()</td></tr>
<tr class="separator:a70aff0ce844684e2df39aaef22b132a7 inherit pub_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a008d94a439116488b4e647fc6f3dffa4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a008d94a439116488b4e647fc6f3dffa4">createJsonElement</a> (Object value)</td></tr>
<tr class="separator:a008d94a439116488b4e647fc6f3dffa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a56bb1187de450ce20a687a6d6f0297d7"><td class="memItemLeft" align="right" valign="top">final Map&lt; String, <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a56bb1187de450ce20a687a6d6f0297d7">members</a> = new LinkedHashMap&lt;String, <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>&gt;()</td></tr>
<tr class="separator:a56bb1187de450ce20a687a6d6f0297d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pac_methods_classcom_1_1google_1_1gson_1_1_json_element"><td colspan="2" onclick="javascript:toggleInherit('pac_methods_classcom_1_1google_1_1gson_1_1_json_element')"><img src="closed.png" alt="-"/>&#160;包函数 继承自 <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">com.google.gson.JsonElement</a></td></tr>
<tr class="memitem:aa893d8dd48c50e0a34cb5e4f3bc770f2 inherit pac_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memItemLeft" align="right" valign="top">Boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html#aa893d8dd48c50e0a34cb5e4f3bc770f2">getAsBooleanWrapper</a> ()</td></tr>
<tr class="separator:aa893d8dd48c50e0a34cb5e4f3bc770f2 inherit pac_methods_classcom_1_1google_1_1gson_1_1_json_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>A class representing an object type in Json. An object consists of name-value pairs where names are strings, and values are any other type of <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>. This allows for a creating a tree of JsonElements. The member elements of this object are maintained in order they were added.</p>
<dl class="section author"><dt>作者</dt><dd>Inderjeet Singh </dd>
<dd>
Joel Leitch </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a7525e7948f657f4a6dd5f7f5170afa26"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.google.gson.JsonObject.JsonObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates an empty <a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html">JsonObject</a>. </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="af13567e4159054c29f902d391f897962"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.google.gson.JsonObject.add </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>property</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Adds a member, which is a name-value pair, to self. The name must be a String, but the value can be an arbitrary <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>, thereby allowing you to build a full tree of JsonElements rooted at this node.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">property</td><td>name of the member. </td></tr>
    <tr><td class="paramname">value</td><td>the member object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a37a741a72aeff7c0c8bf26db0b80c78b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.google.gson.JsonObject.addProperty </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>property</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convenience method to add a primitive member. The specified value is converted to a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a> of String.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">property</td><td>name of the member. </td></tr>
    <tr><td class="paramname">value</td><td>the string value associated with the member. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af14b3d128b3c267c68b4c39482e74ff4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.google.gson.JsonObject.addProperty </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>property</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Number&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convenience method to add a primitive member. The specified value is converted to a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a> of Number.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">property</td><td>name of the member. </td></tr>
    <tr><td class="paramname">value</td><td>the number value associated with the member. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac61b768daf1ea163a01af772c95ea42e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.google.gson.JsonObject.addProperty </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>property</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Boolean&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convenience method to add a boolean member. The specified value is converted to a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a> of Boolean.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">property</td><td>name of the member. </td></tr>
    <tr><td class="paramname">value</td><td>the number value associated with the member. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8d54a99594353388ea2a6fc0fc686150"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.google.gson.JsonObject.addProperty </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>property</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Character&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convenience method to add a char member. The specified value is converted to a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a> of Character.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">property</td><td>name of the member. </td></tr>
    <tr><td class="paramname">value</td><td>the number value associated with the member. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a008d94a439116488b4e647fc6f3dffa4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> com.google.gson.JsonObject.createJsonElement </td>
          <td>(</td>
          <td class="paramtype">Object&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates the proper <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> object from the given</p><div class="fragment"><div class="line">value </div>
</div><!-- fragment --><p> object.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>the object to generate the <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> for </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a> if the<div class="fragment"><div class="line">value </div>
</div><!-- fragment --> is not null, otherwise a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_null.html">JsonNull</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afeb9f0f46b5517ff0ee024fbb8b1e7ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Set&lt;Map.Entry&lt;String, <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>&gt; &gt; com.google.gson.JsonObject.entrySet </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns a set of members of this object. The set is ordered, and the order is in which the elements were added.</p>
<dl class="section return"><dt>返回</dt><dd>a set of members of this object. </dd></dl>

</div>
</div>
<a class="anchor" id="a9fddc8ae4be6cef712b6be6fda3a458e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.google.gson.JsonObject.equals </td>
          <td>(</td>
          <td class="paramtype">Object&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aff4878478d438a0d947aeae437f08594"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> com.google.gson.JsonObject.get </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>memberName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the member with the specified name.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">memberName</td><td>name of the member that is being requested. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the member matching the name. Null if no such member exists. </dd></dl>

</div>
</div>
<a class="anchor" id="ad0bbbd35d5a7c0f1f72850e6044f675c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_array.html">JsonArray</a> com.google.gson.JsonObject.getAsJsonArray </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>memberName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convenience method to get the specified member as a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_array.html">JsonArray</a>.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">memberName</td><td>name of the member being requested. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the <a class="el" href="classcom_1_1google_1_1gson_1_1_json_array.html">JsonArray</a> corresponding to the specified member. </dd></dl>

</div>
</div>
<a class="anchor" id="addbd7aa8050d23261fbd72778c20b3ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html">JsonObject</a> com.google.gson.JsonObject.getAsJsonObject </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>memberName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convenience method to get the specified member as a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html">JsonObject</a>.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">memberName</td><td>name of the member being requested. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the <a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html">JsonObject</a> corresponding to the specified member. </dd></dl>

</div>
</div>
<a class="anchor" id="aa5eddfce2f6356c4e19ca8507f41fea9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a> com.google.gson.JsonObject.getAsJsonPrimitive </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>memberName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convenience method to get the specified member as a <a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a> element.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">memberName</td><td>name of the member being requested. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the <a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html">JsonPrimitive</a> corresponding to the specified member. </dd></dl>

</div>
</div>
<a class="anchor" id="acfe76c75649bab7a89f0d3286e7620ec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.google.gson.JsonObject.has </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>memberName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Convenience method to check if a member with the specified name is present in this object.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">memberName</td><td>name of the member that is being checked for presence. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>true if there is a member with the specified name, false otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a9b98825813cad022d5a0e0e9de7b8f70"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.google.gson.JsonObject.hashCode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7bde9aaf367149f477149d0e219abddf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> com.google.gson.JsonObject.remove </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>property</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Removes the</p><div class="fragment"><div class="line"><span class="keyword">property</span> </div>
</div><!-- fragment --><p> from this <a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html">JsonObject</a>.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">property</td><td>name of the member that should be removed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a> object that is being removed. </dd></dl>
<dl class="section since"><dt>自从</dt><dd>1.3 </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="a56bb1187de450ce20a687a6d6f0297d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final Map&lt;String, <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>&gt; com.google.gson.JsonObject.members = new LinkedHashMap&lt;String, <a class="el" href="classcom_1_1google_1_1gson_1_1_json_element.html">JsonElement</a>&gt;()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/com/google/gson/<a class="el" href="_json_object_8java.html">JsonObject.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2014年 十一月 6日 星期四 11:22:04 , 为 AndBase开发框架使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
